package com.yonyou.gmmc.service.information.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yonyou.gmmc.common.annotation.OracleDb;
import com.yonyou.gmmc.service.information.model.TtBlackList;

import tk.mybatis.mapper.common.Mapper;

@OracleDb
public interface TtBlackListMapper extends Mapper<TtBlackList> {

    // 根据IP来查找记录
    List<TtBlackList> findByIp(String ip);

    // 添加记录
    int addBlackList(@Param("blackList") TtBlackList blackList);
}
